home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
TEMP
/
GNU
/
bison
/
Invocation
< prev
next >
Wrap
Text File
|
1995-06-28
|
842b
|
28 lines
Invocation
Previous: <Debugging=>Debugging> * Next: <Table of Symbols=>TableofSym> * Up: <Top=>!Root>
#Wrap on
{fH2}Invoking Bison{f}
The usual way to invoke Bison is as follows:
#Wrap off
#fCode
bison {fStrong}infile{f}
#f
#Wrap on
Here {fStrong}infile{f} is the grammar file name, which usually ends in
{fEmphasis}.y{f}. The parser file's name is made by replacing the {fEmphasis}.y{f}
with {fEmphasis}.tab.c{f}. Thus, the {fEmphasis}bison foo.y{f} filename yields
{fCite}foo.tab.c{f}, and the {fEmphasis}bison hack\/foo.y{f} filename yields
{fCite}hack\/foo.tab.c{f}.
#Wrap off
<Bison Options=>BisonOptio>: All the options described in detail,
in alphabetical order by short options.
<Option Cross Key=>OptionCros>: Alphabetical list of long options.
<VMS Invocation=>VMSInvocat>: Bison command syntax on VMS.
#Wrap on